#include <nice2d/components/scenecamera.h>

IMPLEMENT_OBJECT(SceneCamera, Component)

class SceneCameraData
{
public:
    std::weak_ptr<Scene> scene;
};

SceneCamera::SceneCamera():
    data(new SceneCameraData())
{
}

SceneCamera::~SceneCamera()
{

}

void SceneCamera::setScene(ScenePointer scene)
{
    data->scene = scene;
}

std::weak_ptr<Scene> SceneCamera::getScene()
{
    return data->scene;
}

void SceneCamera::setViewArea(const sf::FloatRect &area)
{

}

void SceneCamera::setViewpoint(const sf::Vector2f &point)
{

}

void SceneCamera::update(float deltaTime)
{

}
